import javax.swing.JComboBox;
import javax.swing.JLabel;
import javax.swing.JPanel;

@SuppressWarnings("serial")
public class ComboPanel extends JPanel
{
	public JComboBox comboJaar, comboMaand;
	private JLabel jaar, maand;
	public int intJaar;
	public int intMaand;
	
	public ComboPanel()
	{
		String[] jaarString =  {"2001", "2002", "2003", "2004", "2005", "2006", "2007", "2008", "2009", "2010"};
		String [] maandString = {"januari", "februari", "maart", "april", "mei", "juni", "juli", 
				"augustus", "september", "oktober", "november", "december"};
		
		intJaar = 2001;
		intMaand = 1;
		jaar = new JLabel("Jaar: ", null, 10);
		maand = new JLabel("Maand: ", null, 10);
		
		comboJaar = new JComboBox(jaarString);
		comboMaand = new JComboBox(maandString);
		
		add(jaar);
		add(comboJaar);
		add(maand);
		add(comboMaand);
	}
}
